package player;

import adventure.vocation.Vocation;
import adventure.vocation.VocationManager;

/**
 *
 * @author Michael Hanns
 *
 */
public interface PlayerManager {

    public void setStartArea(int x, int y, int z);
    
    public void setVocationManager(VocationManager vocs);

    public boolean logOn(String name, String password);

    public boolean logOff(int id);

    public boolean createPlayer(String name, String password, Vocation voc);

    public boolean savePlayers();

    public int onlinePlayers();

    public Player getOfflinePlayer(String name);

    public Player getOnlinePlayer(String name);

    public Player getOnlinePlayer(int id);

    public Player getOnlinePlayerAtIndex(int id);
    
    public String[] getVocationNames();
    
    public Vocation getVocation(int x);

}
